//
//  ByNetParamsModel.h
//  jmsfhz_ios
//
//  Created by pro on 16/7/22.
//  Copyright © 2016年 pro. All rights reserved.
//

#import <Foundation/Foundation.h>

/** 验证码 */
typedef enum : NSUInteger {
    CODE_TYPE_FOR_REGISTER              = 1, // 注册
    CODE_TYPE_FOR_UPDATE_PSW            = 2, // 更新密码
    CODE_TYPE_FOR_NEW_BIND_PHONE        = 3, // 绑定手机号，之前没有绑定过
    CODE_TYPE_FOR_CHANGE_NEW_PHONE      = 4, // 更换手机号
    CODE_TYPE_FOR_LOGIN                 = 5, // 登陆
} ByCodeType;

/** 新闻类型 */
typedef enum : NSUInteger {
    NEWS_TYPE_FOR_NOTICE                = 6054, // 通知公告
    NEWS_TYPE_FOR_COMPANY               = 6102, // 企业信息
    NEWS_TYPE_FOR_NEWS                  = 6081, // 新闻动态
    NEWS_TYPE_FOR_COOPERATION           = 6101, // 四方合作
    NEWS_TYPE_FOR_ACHIEVEMENT           = 6103, // 合作成果
    NEWS_TYPE_FOR_PRACTICE              = 6104, // 实践基地
    NEWS_TYPE_FOR_RECOMMEND             = 6106, // 人才推荐
    NEWS_TYPE_FOR_ORGANIZATION          = 6107, // 组织机构 理事长
    NEWS_TYPE_FOR_ORGANIZATION_NORMAL   = 6108, // 组织机构 常务理事长
    NEWS_TYPE_FOR_ORGANIZATION_VICE     = 6109, // 组织机构 副理事长


} ByNewsType;

/** 参数model */
@interface ByNetParamsModel : ByNetBaseModel

#pragma mark - 通用
@property (nonatomic, copy) NSString *id;               // id
@property (nonatomic, copy) NSString *ids;              // id（多个）
@property (nonatomic, copy) NSString *uid;              // 用户id
@property (nonatomic, copy) NSString *page_num;         // 最小 1
@property (nonatomic, copy) NSString *page_no;          // 最小 1
@property (nonatomic, copy) NSString *page_index;       // 最小 1
@property (nonatomic, copy) NSString *current_page;     // 默认 1
@property (nonatomic, copy) NSString *page_size;        // 默认10
@property (nonatomic, copy) NSString *is_login;         // 是否登陆

#pragma mark - 用户接口
@property (nonatomic, copy) NSString *username;         // 用户登录账号
@property (nonatomic, copy) NSString *password;         // 用户登录密码（明文）
@property (nonatomic, copy) NSString *passwordConfirm;  // 密码确认（明文）
@property (nonatomic, copy) NSString *code;             // 验证码
@property (nonatomic, copy) NSString *code2;         // 验证码
@property (nonatomic, copy) NSString *role;             // 用户登陆角色（5为学生 6为企业）
@property (nonatomic, copy) NSString *nickname;         // 昵称
@property (nonatomic, copy) NSString *realname;         // 真实姓名
@property (nonatomic, copy) NSString *birthday;         // 生日
@property (nonatomic, copy) NSString *sex;              // 性别
@property (nonatomic, copy) NSString *sign;             // 签名
@property (nonatomic, copy) NSString *email;            // 邮箱
@property (nonatomic, copy) NSString *newemail;         // 新邮箱
@property (nonatomic, copy) NSString *qq;               // qq
@property (nonatomic, copy) NSString *area_id;          // 地区ID
@property (nonatomic, copy) NSString *school;           // 学校
@property (nonatomic, copy) NSString *loc_area;         // 地区
@property (nonatomic, copy) NSString *gradeID;          // 年级id
@property (nonatomic, copy) NSString *headID;           // 头像id
@property (nonatomic, copy) NSString *device_model;     // 设备型号
@property (nonatomic, copy) NSString *device_token;     
//@property (nonatomic, strong) UIImage *iconImage;       // 头像图片
@property (nonatomic, copy) NSString *idnumber;         // 身份证号
@property (nonatomic, copy) NSString *auto_login_code;  // 自动登录授权
@property (nonatomic, copy) NSString *id_certs;         // 司机认证身份证id string
@property (nonatomic, copy) NSString *driver_cert;      // 行驶证id string
@property (nonatomic, copy) NSString *group_id;         // 司机6 技工7
@property (nonatomic, copy) NSString *old_psw;          // 旧密码

#pragma mark - 验证码
@property (nonatomic, copy) NSString *mobile;           // 手机
@property (nonatomic, copy) NSString *newmobile;        // 新手机
@property (nonatomic, copy) NSString *type;             // 验证码类型


#pragma mark - 轮播
@property (nonatomic, copy) NSString *position;         // 

#pragma mark - 新闻
@property (nonatomic, copy) NSString *cate;             // 参考 2. 数据字典定义


#pragma mark - 岗位/简历
@property (nonatomic, copy) NSString *keywords;         // 简历标题包含的关键词

#pragma mark - 项目
@property (nonatomic, copy) NSString *project_id;       // 项目id
#pragma mark - 注册
@property (nonatomic, copy) NSString *reg_type;         // 注册类型
@property (nonatomic, copy) NSString *from;             // 注册来源




#pragma mark - 支付
@property (nonatomic, copy) NSString *tradeNO;          // 订单号
@property (nonatomic, copy) NSString *productName;      // 商品名称
@property (nonatomic, copy) NSString *productDes;       // 商品描述
@property (nonatomic, copy) NSString *totalFee;         // 总金额
@property (nonatomic, copy) NSString *showUrl;

@property (nonatomic, copy) NSString *pay_code_type;
@property (nonatomic, copy) NSString *items;
@property (nonatomic, copy) NSString *pay_type;
@property (nonatomic, copy) NSString *wallet_pay_money;
@property (nonatomic, copy) NSString *wallet_only;
@property (nonatomic, copy) NSString *amount;
@property (nonatomic, copy) NSString *pay_code;
@property (nonatomic, copy) NSString *bank_id;
@property (nonatomic, copy) NSString *order_no;
@property (nonatomic, copy) NSString *sms_code;


#pragma mark - 消息相关
@property (nonatomic, copy) NSString *msgtype;          // 消息类型【1=>系统消息，2=>推送消息】

#pragma mark - 维修相关
//@property (nonatomic, copy) NSString *repairStatus;     // 维修订单状态
//@property (nonatomic, copy) NSString *repair_evaluate;  // 维修评价得分
//@property (nonatomic, copy) NSString *repair_pid;       // 维修单子id
@property (nonatomic, copy) NSString *repair_id;        // 维修项目id
//@property (nonatomic, copy) NSString *repair_detail;    // 维修详情
@property (nonatomic, copy) NSString *repair_status;    
//@property (nonatomic, copy) NSString *repair_tags;      // 师傅被评价的标签
@property (nonatomic, copy) NSString *repair_pay;       // 维修金额


@property (nonatomic, copy) NSString *address;          // 故障地址
@property (nonatomic, copy) NSString *detail;           // 故障详情
@property (nonatomic, copy) NSString *vehicle_type;     // 车辆类型
@property (nonatomic, copy) NSString *repair_type;      // 维修类型
@property (nonatomic, copy) NSString *citycode;         // 城市id
@property (nonatomic, copy) NSString *areacode;         // 区域id
@property (nonatomic, copy) NSString *lon;              // 经度
@property (nonatomic, copy) NSString *lat;              // 纬度
@property (nonatomic, copy) NSString *repair_images;    // 现场照片id
#pragma mark - 钱包
@property (nonatomic, copy) NSString *pay_psw_old;
@property (nonatomic, copy) NSString *pay_psw_new;
@property (nonatomic, copy) NSString *bank_no;          // 银行卡号
@property (nonatomic, copy) NSString *bank_account;     // 银行卡绑定姓名
@property (nonatomic, copy) NSString *bank_cert;        // 银行卡绑定身份证号
@property (nonatomic, copy) NSString *bank_phone;       // 银行卡绑定手机号
@property (nonatomic, copy) NSString *bank_cvv;         // 信用卡后三位
@property (nonatomic, copy) NSString *bank_yxq;         // 信用卡有效期
@property (nonatomic, copy) NSString *money;            // 提现金额
@property (nonatomic, copy) NSString *account_id;       // 银行卡id或者其他帐号id
@property (nonatomic, copy) NSString *to_account;       // 收款方帐号（手机号码）
@property (nonatomic, copy) NSString *balance;          // 转账金额（单位分）
@property (nonatomic, copy) NSString *trans_type;       // 0:普通转账 1:付佣



#pragma mark - 签约订单相关
@property (nonatomic, copy) NSString *keyword;          // 搜索用的关键词


#pragma mark - 商品
@property (nonatomic, copy) NSString *cate_id;            
@property (nonatomic, copy) NSString *order;            // 排序(d=>'默认',pd=>价格从高到低,pa=>价格从低到高)
@property (nonatomic, copy) NSString *l_price;          // 下限价格
@property (nonatomic, copy) NSString *r_price;          // 上限价格

@property (nonatomic, copy) NSString *count;            // 购买数量
@property (nonatomic, copy) NSString *sku_pkid;         // 加入购物车的商品的规格id（注意：不是sku_id）
@property (nonatomic, copy) NSString *address_id;       // 地址id
@property (nonatomic, copy) NSString *del;              //
@property (nonatomic, copy) NSString *note;             // 
@property (nonatomic, copy) NSString *idcode;
@property (nonatomic, copy) NSString *group;


#pragma mark - 订单
@property (nonatomic, copy) NSString *s_id;             // 
@property (nonatomic, copy) NSString *query_status;     // 查询状态
@property (nonatomic, copy) NSString *order_code;       // 订单编号




#pragma mark - zk,微测试相关
@property (nonatomic, copy) NSString *dt_type;          // 题目类型
@property (nonatomic, copy) NSString *unit_id;          // 单元id
@property (nonatomic, copy) NSString *use_time;         // 答题用时
@property (nonatomic, copy) NSString *answer_multi;     // 答题情况,注意顺序一致(题目间,分割,且每题题号:对错,0=>对,1=>错,2=>漏)

@property (nonatomic, copy) NSString *answer_type;      // 0答题本(默认,全部单元),1=>错题本(包含错题的单元)
@property (nonatomic, copy) NSString *book_id;          // 书籍id


@end
